package com.kim.user.web;

import com.codingapi.txlcn.tc.config.EnableDistributedTransaction;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author KimWu
 * @date 2020/5/24 21:39
 * @Description ：
 */
@SpringBootApplication
@MapperScan("com.kim.user.web.dao")
@EnableDiscoveryClient
@EnableEurekaClient
@EnableDistributedTransaction //分布式事务
//@EnableCircuitBreaker
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
    }
}
